package com.test.jbpm.domain;




import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.ManyToOne;

import javax.persistence.Table;

@Entity
@Table(name="t_mystudent")
public class Student {
	private Integer id;
	private String name;	
	private String sex;
	private Integer age;
	private String firstInterviewScore;
	private String secondInterviewScore;
	private String thirdInterviewScore;
	private String professionScore;
	private StudentInfo studentInfo;
	private String email;
	private String photo;
	public String getFirstInterviewScore() {
		return firstInterviewScore;
	}

	public void setFirstInterviewScore(String firstInterviewScore) {
		this.firstInterviewScore = firstInterviewScore;
	}

	public String getSecondInterviewScore() {
		return secondInterviewScore;
	}

	public void setSecondInterviewScore(String secondInterviewScore) {
		this.secondInterviewScore = secondInterviewScore;
	}

	public String getThirdInterviewScore() {
		return thirdInterviewScore;
	}

	public void setThirdInterviewScore(String thirdInterviewScore) {
		this.thirdInterviewScore = thirdInterviewScore;
	}

	public String getProfessionScore() {
		return professionScore;
	}

	public void setProfessionScore(String professionScore) {
		this.professionScore = professionScore;
	}


	public Integer getAge() {
		return age;
	}

	public void setAge(Integer age) {
		this.age = age;
	}



	@ManyToOne
	public StudentInfo getStudentInfo() {
		return studentInfo;
	}

	public void setStudentInfo(StudentInfo studentInfo) {
		this.studentInfo = studentInfo;
	}

	public String getEmail() {
		return email;
	}

	public void setEmail(String email) {
		this.email = email;
	}

	public String getPhoto() {
		return photo;
	}

	public void setPhoto(String photo) {
		this.photo = photo;
	}

	
	
	@Id @GeneratedValue
	public Integer getId() {
		return id;
	}

	public void setId(Integer id) { 
		this.id = id;
	}


	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getSex() {
		return sex;
	}

	public void setSex(String sex) {
		this.sex = sex;
	}

}
